package org.arpit.javafx.arrowbutton.control;

import javafx.geometry.Pos;
import javafx.scene.Group;
import javafx.scene.shape.Rectangle;

import com.sun.javafx.scene.control.skin.SkinBase;

public class ArrowButtonSkin extends SkinBase<ArrowButton, ArrowButtonBehavior>{
	
	private ArrowButton control;
	private Group group;
	
	public ArrowButtonSkin(ArrowButton control) {
		super(control, new ArrowButtonBehavior(control));
		this.control = control;
		initialize();
	}

	private void initialize() {
		this.group = new Group();
		
		Rectangle rectangle = new Rectangle(100 , 200);
		this.group.getChildren().add(rectangle);
		getChildren().add(this.group);
		setAlignment(Pos.CENTER_LEFT);
	}

}
